package com.xie.springCloud.dao;

import com.xie.springCloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptMapper {

    boolean addDept(Dept dept);
    Dept getById(Long id);
    List<Dept> getList();
}
